﻿namespace KingerRobot.MexicoSailunMDC.SpiService;

internal interface IMesCuringRequestMaterial
{
    /// <summary>
    /// 根据物料id获取硫化机信息
    /// </summary>
    /// <param name="materialId">物料id</param>
    /// <returns></returns>
    List<POMesCuringRequestMaterial> GetCuringRequestMaterialByMaterialId(long materialId);

    /// <summary>
    /// 添加货修改数据
    /// </summary>
    /// <param name="pOMesCuringRequestMaterial"></param>
    /// <returns></returns>
    int AddOrUpdateCuringRequestMaterial(POMesCuringRequestMaterial pOMesCuringRequestMaterial);

    /// <summary>
    /// 根据硫化机左右模位置id获取硫化机信息
    /// </summary>
    /// <param name="locId">硫化机左右模位置id</param>
    /// <returns></returns>
    POMesCuringRequestMaterial GetCuringRequestMaterialByLocId(long locId);
    /// <summary>
    /// 获取所有硫化机正在硫化的物料id
    /// </summary>
    /// <returns></returns>
    List<long> GetAllCuringRequestMaterialIds();
    /// <summary>
    /// 获取所有硫化机正在硫化的物料规格
    /// </summary>
    /// <returns></returns>
    List<string> GetAllCuringRequestMaterialCodes();
    /// <summary>
    /// 获取所有硫化机正在硫化的物料规格 新增预硫化规格 提升机可提前入库
    /// </summary>
    /// <returns></returns>
    List<string> GetAllCuringRequestMaterialCodesV2();
}

